package top.lionkliu.service;

import org.apache.ibatis.annotations.Param;
import top.lionkliu.entity.Note;
import top.lionkliu.entity.User;

import java.util.List;
import java.util.Map;

public interface NoteService {
    List<Note> selectAll();

    void update(Note note);

    void delete(int id);

    void insert( Note note);

    Note selectById(int id);

    List<Note> selectByLike(String key, String value);

    List<Note> selectByPage(int currPage, int pageSize);


    int getTotal();

}
